﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HeSeHus.Interface;

namespace HeSeHus.Model
{
    public class Product : IMProduct
    {
        private string _name;
        private int _prodId;
        //private List<Property> _propListe;

        //public List<Property> PropId
        //{
        //    get { return _propListe; }
        //    set { _propListe = value; }
        //}
        

        public Product(string name, int prodId)
        {
            _name = name;
            _prodId = prodId;
            //_propListe = new List<Property>();
        }

        public Product(int prodId)
        {
            _prodId = prodId;
            //_propListe = new List<Property>();
        }

        //public void Tilknyt(Property property)
        //{
        //    _propListe.Add(property);
        //}

        public int ProdId
        {
            get { return _prodId; }
            set { _prodId = value; }
        }
        
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        
    }
}
